Skip to content

Instantly share code, notes, and snippets.

@Balder1840
Balder1840 / wsl2_love_openwrt.md
Last active September 30, 2026 21:08
Run OpenWrt as a custom distro in WSL2 (WSL2下直接运行openwrt)

Here is an instruction to start openwrt as a custom WSL2 distro.
I didn't start it as a gateway in my local because I don't have windows 11 installed, and you know the poor network mode in windows 10 and wsl2.

Found a way to set WSL's network mode to bridged here and have successfully configured it as a gateway in my local.

But anyway, I think it should work under windows 11 and wsl2, since you can config it as bridged mode.
Have fun!

1. Prerequisites

1.1. Import openwrt's rootfs.tar.gz as a custom WSL2 distro

you can download from the official site

@chandika
chandika / FACTORY_PROXY_CC.md
Last active September 30, 2026 21:03 — forked from ben-vargas/FACTORY_CLIProxyAPI_Claude_ChatGPT.md
Factory CLI with Claude Subscription / ChatGPT Codex via CLIProxyAPI

Executive Summary

This guide documents how to use Factory's Droid CLI with your Claude Code Max subscription (OAuth authentication) instead of pay-per-token API keys. The solution leverages CLIProxyAPI as a transparent authentication proxy that converts API key requests from Factory CLI into OAuth-authenticated requests for Anthropic's API.

Architecture Overview

Factory CLI → [Anthropic Format + API Key] → CLIProxyAPI → [Anthropic Format + OAuth] → Anthropic API
                                                  ↓
 (Auth Header Swap)
@MuTLY
MuTLY / keys.txt
Last active September 30, 2026 21:01
Cemu keys
# this file contains keys needed for decryption of disc file system data (WUD/WUX)
# 1 key per line, any text after a '#' character is considered a comment
# the emulator will automatically pick the right key
541b9889519b27d363cd21604b97c67a # example key (can be deleted)
219FCB908520E9912D57444DFC136C23 # The Legend of Zelda: Breath of the Wild
566FCA3A88AA9255456635EDE688FD0B # The Legend of Zelda: Breath of the Wild EU
082fa2981e004defac03524cc685f693 # The Legend of Zelda: Breath of the Wild JPN
@kgolcyns-intel
kgolcyns-intel / reverse-engineering-webpack-apps.md
Created September 25, 2026 21:47 — forked from 0xdevalias/reverse-engineering-webpack-apps.md
Some notes and techniques for reverse engineering Webpack (and a little bit about React/Vue/Angular) apps
@zsviczian
zsviczian / Process - Build Book.md
Last active September 30, 2026 20:47
Publishing Workflow: Obsidian, Pandoc, Calibre: EPUB, PDF, TXT

<%* /*

/**
 * Obsidian Templater script to build a book from markdown files.
 * 
 * This script automates the process of generating a publish-ready book from a set of Obsidian markdown files.
 * It is designed to work on both Windows and Mac, and can be run from within Obsidian using the Templater plugin.
 * 
 * The script performs the following steps:
 *   1. Expands all Obsidian embeds and links, recursively flattening the book structure into two markdown files:
@ejdyksen
ejdyksen / patch-edid.md
Last active September 30, 2026 20:46
A script to fix EDID problems on external monitors in macOS

patch-edid.rb

A script to fix EDID problems on external monitors in macOS.

Instructions

  1. Connect only the problem display.

  2. Create this directory structure (if it doesn't already exist):

# this file contains keys needed for decryption of file system data (WUD/WUX)
# 1 key per line, any text after a '#' character is considered a comment
# the emulator will automatically pick the right key
541b9889519b27d363cd21604b97c67a # example key (can be deleted)
d7b00402659ba2abd2cb0db27fa2b656 # Common
805e6285cd487de0faffaa65a6985e17 # Espresso Ancast
b5d8ab06ed7f6cfc529f2ce1b4ea32fd # Starbuck Ancast
9a164ee15ac7ceb64d3cc130094095f6 # 007 Legends [EUR, NUS]
@dbernheisel
dbernheisel / Dockerfile
Created September 30, 2026 20:26
Build Old Chromedriver
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y --no-install-recommends \
git curl ca-certificates python python-setuptools lsb-release pkg-config \
xz-utils bzip2 file build-essential zip unzip sudo locales libxml2 && rm -rf /var/lib/apt/lists/*
RUN git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /depot_tools && \
cd /depot_tools && git checkout $(git rev-list -n1 --before=2018-11-20 origin/main 2>/dev/null || git rev-list -n1 --before=2018-11-20 origin/master)
ENV PATH=/depot_tools:$PATH DEPOT_TOOLS_UPDATE=0 VPYTHON_BYPASS="manually managed python not supported by chrome operations"
WORKDIR /work
@jdssl
jdssl / CLAUDE.md
Last active September 30, 2026 20:43
CLAUDE.md

Global Safety & Engineering Rules

Apply these rules to every session unless I explicitly override them.


General Principles

  • Default to safety over speed.
  • If an action could be destructive, irreversible, expensive, or affect other people or shared environments, stop and ask for my approval first.
@judero01col
judero01col / Service KMS.md
Last active September 30, 2026 20:32
Volume License Activation Key Service - KMS

Find Available Target Editions

DISM.exe /Online /Get-TargetEditions

Convert Server Standard 2019 Evaluation to Server Standard 2019

DISM /online /Set-Edition:ServerStandard /ProductKey:N69G4-B89J2-4G8F4-WWYCC-J464C /AcceptEula

How To Activate

slmgr /ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
slmgr /skms [server]:[port]
slmgr /ato